<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录页面</title>
</head>
<body>
登录页面
<p th:text="${msg}" style="color: red"></p>
<form method="post" action="/login">
    用户名：<input name="username"/><br>
    密码：<input name="password"><br>
    <input type="submit" value="提交">
</form>
</body>
</html>